#pragma once

#include "common/PThread.h"
#include "GLGlobalDefine.h"
#include "logicbase/GLLogicManager.h"
#include "common/PSplitPacket.h"
#include "common/LSocket.h"

class CLogicRecvThread : public CPThreadRunner
{
public:
	CLogicRecvThread(void);
	virtual ~CLogicRecvThread(void);

	virtual void Init();
	virtual void Run(mail_t mail);
private:
	CGLLogicManager*	m_LogicManager;
	LSocket*			m_LogicConnect;

	char				m_Buf[SCOKET_MAX_BUFF_LEN];
	CPDHANDLE			m_Handle;
};

